package com.itsu.app.controller;

import com.itsu.api.controllerApi.HuanxinUserControllerApi;
import com.itsu.app.service.AppHuanxinUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class HuanxinUserController implements HuanxinUserControllerApi {

    @Autowired
    AppHuanxinUserService appHuanxinUserService;

    @Override
    public ResponseEntity queryHuanXinUser() {
        Map<String, String> map = appHuanxinUserService.queryHuanXinUser();
        return ResponseEntity.ok(map);
    }
}
